{assign var = tsrealestateunitspaids value = 0} {assign var = tcrealestateunitspaids value = 0} {assign var = texpenses value = 0} {assign var = trestaurantrawdestruction value = 0}

المدفوع للمالك : {$tsrealestateunitspaids}

المصروفات : {$texpenses - $tsrealestateunitspaids}

الاهلاكات : {$trestaurantrawdestruction}

التحصيل من المستأجرين : {$tcrealestateunitspaids}

{$tcrealestateunitspaids - ($tsrealestateunitspaids - $texpenses)}

المدفوع للمالك

{foreach $srealestateunitspaids as $srealestateunitspaid} {foreach $srealestateunitspaid->realestateunitpaidinstallments as $realestateunitpaidinstallment} {/foreach} {assign var = tsrealestateunitspaids value = $tsrealestateunitspaids + $srealestateunitspaid->totalpaid} {/foreach}
المالك العقار
{$srealestateunitspaid->supplier.suppliername} {$srealestateunitspaid->realestate->realestatename}
الايجار المدفوع
{$srealestateunitspaid->valuerents} {$srealestateunitspaid->totalpaid}
التاريخ الدفع
المقدم {$srealestateunitspaid->advancepayment}
{$realestateunitpaidinstallment->installmentdate} {$realestateunitpaidinstallment->totalpaid}
{$srealestateunitspaid->totalpaid}

{$tsrealestateunitspaids}

المصروفات

{foreach $expenses as $expense} {assign var = texpenses value = $texpenses + $expense.expensesValue} {/foreach}
العقار الوحده نوع المصروف المصروف قيمة التاريخ
{$expense.realestatename} {$expense.unitname} {$expense.expensestypename} {$expense.expensesname} {$expense.expensesValue} {$expense.expensesdate}
{$expense.expensesValue}

{$texpenses}

الاهلاكات

{foreach $restaurantrawdestruction as $restaurant} {assign var = trestaurantrawdestruction value = $trestaurantrawdestruction + ($restaurant.buypricenew * $restaurant.quantitynew)} {/foreach}
العقار الوحده المنتج الكميه قيمة التاريخ
{$restaurant.realestatename} {$restaurant.unitname} {$restaurant.productName} {$restaurant.quantitynew} {$restaurant.buypricenew * $restaurant.quantitynew} {$restaurant.sysdate}
{$restaurant.buypricenew * $restaurant.quantitynew}

{$trestaurantrawdestruction}

التحصيل من المستأجرين

{foreach $crealestateunitspaids as $crealestateunitspaid} {foreach $crealestateunitspaid->realestateunitpaidinstallments as $realestateunitpaidinstallment} {/foreach} {assign var = tcrealestateunitspaids value = $tcrealestateunitspaids + $crealestateunitspaid->totalpaid} {/foreach}
المستاجر العقار
{$crealestateunitspaid->client.clientname} {$crealestateunitspaid->realestate->realestatename}
الايجار المدفوع
{$crealestateunitspaid->valuerents} {$crealestateunitspaid->totalpaid}
الوحده / التاريخ الدفع
المقدم {$crealestateunitspaid->advancepayment}
{$crealestateunitspaid->realestatesunit->unitname} / {$realestateunitpaidinstallment->installmentdate} {$realestateunitpaidinstallment->totalpaid}
{$crealestateunitspaid->totalpaid}

{$tcrealestateunitspaids}

المدفوع للمالك : {$tsrealestateunitspaids}

المصروفات : {$texpenses - $tsrealestateunitspaids}

الاهلاكات : {$trestaurantrawdestruction}

التحصيل من المستأجرين : {$tcrealestateunitspaids}

{($tcrealestateunitspaids) - ($tsrealestateunitspaids + ($texpenses - $tsrealestateunitspaids) + $trestaurantrawdestruction)}

{literal} {/literal}